<!--<? include L::getHtmlTpl('/html/head.html');
include L::getHtmlTpl('/html/navHover.html');
?>-->
<div class="wrapper wrapper-content animated fadeInRight padding-body-left-top">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5 __html="$this->title"></h5>
                </div>
                <div style="background-color: white;text-align: right;width: 100%;height: 30px;">
                    <div class="input-group-sm input-group" style="width: 45%;margin-left: 50%;">
                        <label class="input-group-addon bold">开始时间</label>
                        <input type="text" class="form-control layui-input" id="timeS">
                        <label class="input-group-addon bold">结束时间</label>
                        <input type="text" class="form-control layui-input" id="timeE">
                        <label class="input-group-addon bold">数据类型</label>
                        <select class="form-control layui-select" id="type" onchange="chartObj.changeType()">
                            <!--<? foreach($this->type as $key => $value){?>-->
                            <option _value="$key"><!--<? echo $value;?>--></option>
                            <!--<? }?>-->
                        </select>
                        <input type="hidden" id="oldTimeS">
                        <input type="hidden" id="oldTimeE">
                    </div>
                </div>
                <div class="ibox-content">
                    <input type="hidden" name="chart" id="chart" _value="$this->chart">
                    <div class="table-responsive" id="table-responsive"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script _src="ROOT_URL.'/view/js/echarts.min.js?v=1.0'"></script>
<script _src="ROOT_URL.'/view/js/layui/layui.js'"></script>
<!--加本页面 的js文件与js代码-->
<script type="text/javascript" _src="ROOT_URL.'/view/js/wish/chart.js?v=1.0'"></script>
<script>
layui.use('laydate', function() {
    var laydate = layui.laydate;
    laydate.render({
        elem: '#timeS',
        done: function(value) {
            chartObj.changeTimeS(value);
        }
    });
});

layui.use('laydate', function() {
    var laydate = layui.laydate;
    laydate.render({
        elem: '#timeE',
        done: function(value) {
            chartObj.changeTimeE(value);
        }
    });
});
</script>
</body>
</html>
